Performs field processing on the form image.
Syntax
Parameters
- form
-
Form image.
- formAlignment
-
A value that indicates the Form Alignment. It aligns Master Form's fields to this form field.
If it is null fields will be aligned depending on the image resolution.
Example
For a complete example on using the forms recognition and processing, refer to the FormProcessingEngine example.
This example processes form.
Visual Basic | Copy Code |
---|
Public Sub ProcessForm(ByVal processingEngine As FormProcessingEngine, ByVal form As MyForm)
form.ProcessingPages = CType(form.Master.ProcessingPages.GetRange(0, form.Master.ProcessingPages.Count), FormPages)
processingEngine.Pages.Clear()
processingEngine.Pages.AddRange(form.ProcessingPages)
processingEngine.Process(form.Image, form.Alignment)
End Sub
|
C# | Copy Code |
---|
///This method processes the recognized form. public void ProcessForm(FormProcessingEngine processingEngine, MyForm form) { form.ProcessingPages = (FormPages)form.Master.ProcessingPages.GetRange(0, form.Master.ProcessingPages.Count); processingEngine.Pages.Clear(); processingEngine.Pages.AddRange(form.ProcessingPages); processingEngine.Process(form.Image, form.Alignment); } |
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also